<%@ Control Language="C#" AutoEventWireup="true" Codebehind="LeftBottomNews.ascx.cs"
    Inherits="NCS.Module.Multimedia.Web.LeftBottomNews" %>
<%@ Register Assembly="NCS.Modules.Adsvertising" Namespace="NCS.Modules.Adsvertising.Advertise"
    TagPrefix="cc1" %>

<script language="javascript" type="text/javascript">
	function display(id){
	
		
	    if(id == "Gallery")	
	    {
	        obj = document.getElementById(id);		       
	        obj.style.display = "block";
	        Bonus = document.getElementById('Bonus');	        
	        Bonus.style.display = "none";
	    }	
		
		else
		{
			obj = document.getElementById(id);		        
	        obj.style.display = "block";
	        Gallery = document.getElementById('Gallery');
	        Gallery.style.display = "none";
		}
		
	}
</script>

<div id="linkedimagelinklist1" class="parent chrome5 single1 hottopm">
    <h2 class="Msn_PI_NC_Module_Header Msn_PI_Module_Header Msn_PI_Module_Base Web_Bindings_Base">
        <a onclick="javascript:display('Gallery')">Gallery</a><a>|</a><a onclick="javascript:display('Bonus')">Bonus</a><span
            class="mticons"> </span>
    </h2>
    <div id="Gallery">
        <div class="child c1 first">
            <ul class="linkedimglinklist18 cf w75">
                <asp:Repeater ID="rptGallery" runat="server" OnItemDataBound="rptGallery_ItemDataBound1">
                    <ItemTemplate>
                        <li>
                            <asp:HyperLink ID="hplTitle" runat="server">
                                <asp:Image ID="imgPic" runat="server" BorderWidth="1px" BorderStyle="solid" BorderColor="#07519A" ImageUrl="/images/movies/a1.jpg" /><span><%# Eval("AlbumName")%></span></asp:HyperLink></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
    <div id="Bonus" style="display: none;">
        <div class="child c1 first" >
            <ul class="linkedimglinklist18 cf w75">
                <asp:Repeater ID="rptBosnu" runat="server" OnItemDataBound="rptBosnu_ItemDataBound1">
                    <ItemTemplate>
                        <li>
                            <asp:HyperLink ID="hplTitle" runat="server">
                                <asp:Image ID="imgPic" BorderWidth="1px" BorderStyle="solid" BorderColor="#07519A" runat="server" ImageUrl="/images/movies/a1.jpg" /><span><%# Eval("BonusName")%></span></asp:HyperLink></li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
    <div class="child c3 last">
        <div class="img">
            <cc1:advertisement id="Advertisement1" runat="server" width="390" position="MV_LeftPosition5"></cc1:advertisement>
        </div>
    </div>
</div>
